#pragma once
#include "ckobject.h"
#include "zCore.h"
#include <vector>

namespace ck
{
	namespace data
	{
		class Workspace;

		class ZCORE_API EnumWorkspace : public ckObject
		{
		public:
			EnumWorkspace();
			virtual ~EnumWorkspace();

		public:
			void		Add(Workspace* pCase);
			void		Reset();
			Workspace*	Next();
		private:
			void		Cleanup();

		private:
			std::vector<Workspace*>	m_workspaces;
			std::vector<Workspace*>::iterator	m_iter;
		
		};
	}
}
